﻿<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  <title>交易设置</title>
  <link href="__PUBLIC__/admin/css/xc.min.css" rel="stylesheet" type="text/css" />
  <link href="__PUBLIC__/admin/css/xc.admin.css" rel="stylesheet" type="text/css" />
  <link href="__PUBLIC__/lib/iconfont/iconfont.css" rel="stylesheet" type="text/css" />
  <script type="text/javascript" src="__PUBLIC__/admin/js/jquery.min.js"></script>
  <script type="text/javascript" src="__PUBLIC__/admin/js/xc.js"></script>
  <script type="text/javascript" src="__PUBLIC__/admin/js/xc.admin.js"></script>
  <script type="text/javascript" src="__PUBLIC__/admin/js/common-1.0.js"></script>
  <script type="text/javascript" src="__PUBLIC__/lib/layer/layer.js"></script>
</head>
<body>
<nav class="breadcrumb">
  <i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 系统管理 <span class="c-gray en">&gt;</span> 系统进出账比例
  <a class="btn btn-success radius r mr-20 btn-shua" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a>
</nav>
<div class="pd-10">
  <form action="" method="post" id="myfrom1">
    <input type="hidden" name="order_by" value="mo_id">
    <input type="hidden" name="sort" value="desc">
    <div class="text-c"> 搜索
      <!--<span class="select-box inline">-->
      <!--<select class="select" name="type">-->
      <!--<option value="">新闻类型</option>-->
      <!--<foreach name='ntype' item='vo' key='k'>-->
      <!--<option value="{$k}">{$vo}</option>-->
      <!--</foreach>-->
      <!--</select>-->
      </span>
      <!--<input type="text" id="nname" name="nname" placeholder="搜索新闻标题" class="input-text" style="width:250px;">-->
      <input type="text" onfocus="WdatePicker()" value="{$timegap.beg}" id="stime" name="stime" class="input-text Wdate" style="width:120px;"> -
      <input type="text" onfocus="WdatePicker()" value="{$timegap.end}" id="etime" name="etime" class="input-text Wdate" style="width:120px;">
      <button type="button" class="btn btn-success radius" onClick="ajax_get_table('myfrom1',1)"><i class="Hui-iconfont">&#xe665;</i> 搜价格</button>
    </div>
    <div class="mt-10">
      <!--列表加载-->
      <div class="bDiv" style="height: auto;" id="ajax_return"> </div>
    </div>
  </form>
</div>
<script type="text/javascript">
  $(document).ready(function(){
    ajax_get_table('myfrom1',1);
  });
  // ajax 抓取页面
  function ajax_get_table(tab,page){
    cur_page = page; //当前页面 保存为全局变量
    $.ajax({
      type : "POST",
      url:"__MODULE__/Setup/ajaxMoneyList",//+tab,
      data : $('#'+tab).serialize(),// 你的formid
      success: function(data){
        $("#ajax_return").html('');
        $("#ajax_return").append(data);
      }
    });
  }
  //回调函数
  function call_back_fun(v){
    //layer.closeAll(); // 关闭窗口
    ajax_get_table('myfrom1',cur_page);
  }
</script>
</body>
</html>

